﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

using RedmineWorkerDotNET.App.Forms;
using RedmineWorkerDotNET.App.Classes;

namespace RedmineWorkerDotNET.App
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            if (RedmineConfiguration.SaveCredentials)
            {
                RedmineClient.Login(RedmineConfiguration.Username, RedmineConfiguration.Password);
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FormIssues());
        }
    }
}
